package com.itheima.reggie;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@Slf4j
@SpringBootApplication
@ServletComponentScan
@EnableTransactionManagement
@EnableCaching
public class ReggieApplication {
    public static void main(String[] args) {
        SpringApplication.run(ReggieApplication.class, args);
    }
}

// 看到P
// 后台登录页面：http://localhost:8080/backend/page/login/login.html
// 后台首页：http://localhost:8080/backend/index.html
// 上传文件：http://localhost:8080/backend/page/demo/upload.html
// 手机端登录页面：http://localhost:8080/front/page/login.html
// API首页：http://localhost:8080/doc.html